package com.ndky;

import com.ndky2.MyClass2;

public class Main {
    //Java 程序的入口，类似C 程序的入口main 函数
    public static void main(String[] args) {
        MyClass myObj = new MyClass(5);
        System.out.println(myObj.x);

        MyClass2 myObj2 = new MyClass2(15);
        System.out.println(myObj2.x);

    }
}

